import dayjs, { type ConfigType } from "dayjs";

export function formatTime(time: ConfigType, format = "YYYY/MM/DD HH:mm") {
  return dayjs(time).format(format);
}
